package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.company.project.entity.BaseEntity;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * ${comments}
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2022-06-05 22:49:34
 */
@Data
@TableName("a_class")
public class AClassEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private String id;

	@TableField(fill = FieldFill.INSERT)
	private Integer deleted;
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	/**
	 * 班级名称
	 */
	@NotBlank(message = "请输入班级名称")
	private String name;

	/**
	 * 老师名称
	 */
	private String teacherName;

	/**
	 * 班长名称
	 */
	private String monitorName;


}
